/*
 *  MESEventBlock.cpp
 *
 *  Created by William Carey on 5/9/09.
 *  Copyright 2009 Starline Software.
 * 
 * This file is part of MESLib.
 * 
 * MESLib is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 
 * MESLib is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 
 * You should have received a copy of the GNU General Public License
 * along with MESLib. If not, see <http://www.gnu.org/licenses/>.
 * 
 */

#include "MESEventBlock.h"

MESEventBlock::MESEventBlock() {
	
}

MESEventBlock::MESEventBlock(const MESEventBlock& b) {
	
}

MESEventBlock::MESEventBlock(const MESActor_t& actor, const MESAction_t& action) {
	actor_ = actor;
	action_ = action;
}

MESEventBlock::~MESEventBlock() {
	
}

Err_t MESEventBlock::SetActor(const MESActor_t& actor) {
	return NoErr;
}

Err_t MESEventBlock::SetAction(const MESAction_t& action) {
	return NoErr;	
}

const MESActor_t& MESEventBlock::GetActor() const {
	return actor_;
}

const MESAction_t& MESEventBlock::GetAction() const {
	return action_;
}

const size_t MESEventBlock::GetNumLinks() const {
	return links_.size();
}
